namespace Digitalmes.Application.Mes;

/// <summary>
/// 工艺步序表
/// </summary>
public sealed class ProcProcessParamsDto : Dto
{
    /// <summary>
    /// 工序Id
    /// </summary>
    public long ProcessId { get; set; }

    /// <summary>
    /// 工序编号
    /// </summary>
    public string? ProcCode { get; set; }

    /// <summary>
    /// 产品Id
    /// </summary>
    public long ProductId { get; set; }

    /// <summary>
    /// 产品编号
    /// </summary>
    public string? ProductCode { get; set; }

    /// <summary>
    /// 标记编号
    /// </summary>
    [NotNull]
    public string? TagName { get; set; }

    /// <summary>
    /// 标记显示名称
    /// </summary>
    [NotNull]
    public string? TagDisplayName { get; set; }

    /// <summary>
    /// 步序号
    /// </summary>
    public int Step { get; set; }

    /// <summary>
    /// 标准上限值
    /// </summary>
    public double StdHigher { get; set; }

    /// <summary>
    /// 标准下限值
    /// </summary>
    public double StdLower { get; set; }

    /// <summary>
    /// 是否禁用
    /// </summary>
    public bool IsDisabled { get; set; }

    /// <summary>
    /// 创建时间
    /// </summary>
    public DateTime CreateTime { get; set; }

    /// <summary>
    /// 创建人
    /// </summary>
    public string? CreateUser { get; set; }

    /// <summary>
    /// 修改时间
    /// </summary>
    public DateTime? UpdateTime { get; set; }

    /// <summary>
    /// 修改人
    /// </summary>
    public string? UpdateUser { get; set; }
}
